package client.nofity;

import javax.xml.rpc.ServiceException;

public class NotifyService {

	/**
	 * @desc:
	 * @param args :
	 * @auther : chen
	 * @date : Dec 5, 2008
	 */
	public static void main(String[] args) {
		
	try {
		SearchLocator locator=new SearchLocator();
		
		SearchSoap_PortType searchServ1=	locator.getSearchSoap12();
		SearchSoap_PortType searchServ=	locator.getSearchSoap();
		SearchRequestInfo info=new SearchRequestInfo();
		info.setCityCode("beijin");
		info.setSceneName("sceneName");
		GetSearchResultResponseGetSearchResultResult rs=null;
		
		rs=searchServ1.getSearchResult(info);
		System.out.println(rs.toString());
	} catch (Exception e) {
		// TODO Auto-generated catch block
		e.printStackTrace();
	}
	}

}
